package com.forlove.app.qselect.answer.entity;

import com.forlove.app.common.base.mvp.entity.BaseEntity;
import com.forlove.app.common.base.serializer.JSONKey;
import com.forlove.app.qselect.friend.entity.MineFriendEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 答题entity
 * Created by yjl on 2017/10/19.
 */

public class AnswerEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @JSONKey(keys = "batchInfo", type = BatchInfoEntity.class)
    public BatchInfoEntity batchInfo;

    @JSONKey(keys = "lastRecord", type = LastRecordEntity.class)
    public LastRecordEntity lastRecordEntity;

    @JSONKey(keys = "subjects", type = SubjectsEntity.class)
    public List<SubjectsEntity> subjects = new ArrayList<>();

    @JSONKey(keys = "recomand", type = MineFriendEntity.class)
    public List<MineFriendEntity> recomandFriend = new ArrayList<>(); //候选人

    @JSONKey(keys = "expire", type = Long.class)
    public long expire;  //锁题时间

    @JSONKey(keys = "subject_recomand", type = MineFriendEntity.class)
    public List<MineFriendEntity> subjectRecomand = new ArrayList<>();

    @JSONKey(keys = "unlockcost", type = Integer.class)
    public int unlockcost = -1; //解锁答题宝石数
}
